package com.guoyansoft.model.dao;

import com.guoyansoft.model.pojo.YardmanAndProductTeam;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * @author ：高凡
 * @date ：Created in 2023-05-03-12:44
 * @description：调度员和产品组中间表
 * @modified By：
 * @version: $
 */
@Mapper
public interface YardmanAndProductTeamDao {
    /**
     * 添加数据
     * @param yardmanAndProductTeam
     * @return
     */
    int insert(YardmanAndProductTeam yardmanAndProductTeam);

    /**
     * 修改
     * @param map
     * @return
     */
    int update(Map<String,Object> map);

    /**
     * 删除
     * @param yardmanId
     * @return
     */
    int delete(Integer[] yardmanId);
}
